#include<stdio.h>
#include<unistd.h>
int main()
{
    printf("i am parent; pid:%d\n",getpid());
    int ret = fork();
    printf("ret: %d , pid :%d, ppid:%d\n",ret,getpid(),getppid());
    sleep(1);
    return 0;
}
